import request from '@/utils/request'

export function page(params) {
  return request({
    url: 'ajax.smog/index',
    method: 'get',
    params
  })
}
export function eventList(params){
  return request({
    url:'ajax.smog/eventList',
    method:'get',
    params
  })
}
export function processList(params){
  return request({
    url:'ajax.smog/processList',
    method:'get',
    params
  })
}
export function users(params){
  return request({
    url:'ajax.smog/users',
    method:'get',
    params
  })
}

export function processAlarm(params){
  return request({
    url:'ajax.smog/processAlarm',
    method:'get',
    params
  })
}

export function getDeviceByUser(params){
  return request({
    url:'ajax.smog/userDeviceList',
    method:'get',
    params
  })
}

